ExamPlay Dark Logo
Đăng nhập

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 2 - No. 30)

Which statement is best for a scenario that needs different actions depending on the *value* of a variable?
IF ... THEN ... ELSE
FOR...TO...NEXT
WHILE...DO...ENDWHILE
CASE...OF...OTHERWISE

Giải thích

The CASE statement is designed to efficiently handle multiple possible values of a variable.

Bình luận (0)

Đăng nhập để bình luận
Quảng cáo
BrainBehindX Inc Logo
©2026; Được cung cấp bởi BrainBehindX Inc